<{include file='../common/view_header.tpl'}>
<div class="main_view" style="width: 800px;margin: auto;">
	<div class="biaoge">   
	<h2 class="wjtit"><{$question_info.question_name}></h2>
	<p class="wjbh" style="text-align: left;"><label>问卷编号</label><{$question_info.identifier}></p>
        <table width="100%" border="0" cellspacing="0">
        <{if $basic_list}>
          <{foreach $basic_list as $key => $val}>
	  <tr>
		<td><{$val.title}>:</td>
                <td><span class="wjbh">&nbsp;</span></td>
	  </tr>
          <{/foreach}>
          <{/if}>
        </table>
        
        <{foreach $classify_list['list'][1] as $parent_key => $parent_val}>
           <!--一级--> 
        <{if $parent_val}>
        <p class="wjbh pt10"><label><strong><{$classify_list['all'][$parent_val]}></strong></label></p>
        <{/if}>
        
        
        <!--是否有二级-->
        <{foreach $classify_list['list'][2] as $second_key => $second_val}>
            <{if isset($classify_list['parent'][$parent_val])&&($second_val|in_array:$classify_list['parent'][$parent_val])}>
            <p class="wjbh pt10"><label><strong><{$classify_list['all'][$second_val]}></strong></label></p>
            <{/if}>
            <{foreach $classify_list['list'][3] as $classify_key => $classify_val}>
            <{if isset($classify_list['parent'][$second_val])&&($classify_val|in_array:$classify_list['parent'][$second_val])}>
        <div class="group" id="<{$classify_val}>">
	<p class="wjbh pt10"><label><strong><{$classify_list['all'][$classify_val]}></strong></label></p>
	<table width="100%" border="0" cellspacing="0">
	  <tr> 
		<td width="70%"><strong>指标</strong></td>
		<td width="15%"><strong>标准分</strong></td>
                <td width="15%"><strong>选项</strong></td>
	  </tr>
          <{if $subject_list[$classify_val]}>
          <{foreach $subject_list[$classify_val] as $subject_key => $subject_val}>
	  <tr>
              <td><p style="font-size: 14px;"><{$subject_val.question_num}><{$subject_val.title}></p><p><{$subject_val.content}></p></td>
		<td><{$subject_val.standard_score}></td>
                <td>
                    <{if isset($option_list[$subject_val.subject_id])}>
                    <{foreach $option_list[$subject_val.subject_id] as $option_key => $option_val}>
                        <{$option_key}>:<{$option_val}><br/>
                    <{/foreach}>
                    <{/if}>
                </td>
	  </tr>
          <{/foreach}>
          <{/if}>
	</table>
       </div>
        <{/if}>
        <{/foreach}>
        <{/foreach}>
        <{/foreach}>
	
	</table>		
  </div>
</div>
<<{include file="../common/footer.tpl"}>